package com.boot.blog.dao;

import com.boot.blog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @创建人:yewei
 * @创建时间: 2019/12/1 20:50
 * @描述
 */
@Repository
public interface UserRespository extends JpaRepository<User,Long> {

    User findUserByUsernameAndPassword(String userName, String passWord);
}
